ia64: Fix build failure
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Thu, 15 Feb 2007 18:05:05 +0000 (18:05 +0000)
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Thu, 15 Feb 2007 18:05:05 +0000 (18:05 +0000)
Signed-off-by: Alex WIlliamson <alex.williamson@hp.com>
xen/arch/ia64/xen/mm.c

index 23ee2ffe27c7537fab25cf0db939c5d3e3aad3de..b1efa6293facc3118dbb6e3fb4f23374c6c1e279 100644 (file)
@@ -2077,10 +2077,10 @@ arch_memory_op(int op, XEN_GUEST_HANDLE(void) arg)
                 mfn = virt_to_mfn(d->shared_info);
             break;
         case XENMAPSPACE_grant_table:
-            spin_lock(d->grant_table->lock);
-            if ( xatp.idx < nr_grant_frames(d->grant_table) )
+            spin_lock(&d->grant_table->lock);
+            if (xatp.idx < nr_grant_frames(d->grant_table))
                 mfn = virt_to_mfn(d->grant_table->shared) + xatp.idx;
-            spin_unlock(d->grant_table->lock);
+            spin_unlock(&d->grant_table->lock);
             break;
         default:
             break;